package com.weishaoying.example.base.di;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
//import javax.inject.Inject;

/**
 * @author WeiShaoying
 * @date 2018/4/3
 */
@Service
public class OrderService {
    @Autowired
    UserService userService;

    public String sayHello() {
        System.out.println("========sayHello2");
        return userService.queryAll();
    }
}
